<div class="print-template-item" ng-repeat="Item in OrderInfo track by $index" style="box-sizing: border-box">
    <table width="100%" cellspacing="0" style="font-family:'SimSun';text-align: center;border-collapse: collapse;border-spacing: 0;"
           ng-style="{'font-size':printTempStyle.FontSize+'px'}">
        <thead>
        <tr style="text-align: center;vertical-align:middle;">
            <td colspan="{{ printTable.length }}">
                <span style="width: 16.66666667%;float: left;">&nbsp;</span>
                <span style="width: 66.66666667%;float:left;"
                      ng-style="{'fontSize':printTempInfo.TempTitle.FontSize+'px' ,'fontWeight':( printTempInfo.TempTitle.FontWeight ? '700' :'400')}">
                    {{ printTempInfo.TempTitle.Name }}
                </span>
                <span style="width: 16.66666667%; float: left;">
                        <i style="font-style: normal"  style="text-align: right;">第{{Item.currentPageIndex}}</i>/<i
                        style="font-style: normal" style="text-align: left;">{{Item.totalPage}}页</i>
                </span>
            </td>
        </tr>
        <tr ng-if="printTableHeader.length >0 && Item.currentPageIndex === 1"  ng-style="{'line-height':printTempStyle.HeadAndFootLineHeight +'px'}">
            <td colspan="{{ printTable.length }}" style="text-align: left">
                <div ng-repeat="item in printTableHeader " ng-style="setWidth(item,'SetHeaderColumn' )" style="float: left">
                    <i style="font-style: normal;"  ng-bind-html="(item.Alias||item.Name)+':'"></i>
                    <i style="font-style: normal" ng-bind="{{item.Value}}"></i>
                </div>
            </td>
        </tr>
        <tr ng-if="printTable.length >0" style="border: 1px solid #000;border-collapse: collapse;">
            <th ng-repeat="item in printTable " ng-style="{'width':item.colWidth}"
                style="text-align: center;border: 1px solid #000; border-bottom: 0; line-height:{{printTempInfo.TempTitle.FontSize+'px' }}; ">
                {{ item.Alias||item.Name }}
            </th>
        </tr>
        </thead>
        <tbody style="border: 1px solid #000;border-collapse: collapse;">
        <tr ng-if="printTable.length >0"
            ng-repeat="pro in Item.OrderItem track by $index"
            style="border: 1px solid #000" ng-style="{'height':printTempStyle.lineHeight +'px'}">
            <td ng-repeat="item in printTable " style="border: 1px solid #000;word-break:break-all; word-wrap:break-word;"
                ng-bind="{{item.Value}}">
            </td>
        </tr>
        </tbody>
        <tfoot border="1">
            <tr ng-if="printTableFooter.length >0"  ng-style="{'line-height':printTempStyle.HeadAndFootLineHeight +'px'}">
                <td colspan="{{ printTable.length }}"
                    style="text-align: left">
                    <div ng-repeat="item in printTableFooter " ng-style="setWidth(item,'SetFootColumn')" style="float: left">
                        <i style="font-style: normal;" ng-bind-html="(item.Alias||item.Name)+':'"></i><i
                            style="font-style: normal;text-align: left;" ng-bind="{{item.Value}}"></i>
                    </div>
                </td>
            </tr>
            <tr>
                <td colspan="{{ printTable.length }}" style="text-align: left;">
                    <span ng-bind-html="printTempSelfFoot.value  | ybTrustHtml"></span>
                </td>
            </tr>
        </tfoot>
    </table>
</div>
